<?php

use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
//登录
Route::get('Auth/login', 'AuthController@login');


//首页
Route::get('home/index', 'HomeController@index');

//工作板块
Route::get('job/list', 'JobController@getAllJob');//所有职位
Route::get('job/recommend', 'JobController@getReJob');//职位推荐
Route::get('job/search', 'JobController@search');//搜索
Route::get('job/detail', 'JobController@detail');//搜索


//企业板块
Route::get('company/detail', 'CompanyController@detail');//企业详情

//简历
Route::get('resume/list', 'ResumeController@list');//求职者列表
Route::get('resume/detail', 'ResumeController@detail');//简历详情

//用户相关
Route::get('user/resume', 'UserController@Resume');//简历详情
Route::get('user/favorite', 'UserController@getFavorite');//我的收藏
Route::get('user/setFavorite', 'UserController@setFavorite');//收藏添加

